package cn.le.aopAnnotationDataSource.annotation;

import java.lang.annotation.*;

/**
 * Created by admin on 2017/3/24.
 * 为空验证注解
 */
@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface IsEmpty {

    public boolean isEmpty() default true;
    public String message() default "字段不能为空";

}
